home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_8947.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  45 lines

  1. -- card: 8947 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Markings on the trees
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   subtract 5 from score
  10.   if score <= 0 then
  11.     visual effect scroll up
  12.     go card "end"
  13.   end if
  14.   put score into field "scorebox"
  15. end openCard
  16. on mouseUp
  17.   get field "textarea" of card "River Trail"
  18.   put it into holder
  19.   put the number of lines in field "textarea" of card "River Trail" into counter
  20.   repeat until counter = 0
  21.     get line counter of holder
  22.     if it contains "Examine the tree markings" then
  23.       delete line counter of field "textarea" of card "River Trail"
  24.       put 1 into counter
  25.     end if
  26.     subtract 1 from counter
  27.   end repeat
  28.  
  29.   visual effect dissolve
  30.   go to card "River Trail"
  31.  
  32. end mouseUp
  33.  
  34.  
  35. -- part contents for background part 1
  36. ----- text -----
  37. Markings on the trees
  38.  
  39. -- part contents for background part 2
  40. ----- text -----
  41. These marks look like nothing more than tooth marks, perhaps from a porcupine.
  42.  
  43. -- part contents for background part 5
  44. ----- text -----
  45. 320